package com.vastcom.sigma.admin.service;

import com.vastcom.sigma.admin.conf.AdminFeiginConfig;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Repository;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.ResponseBody;

import java.util.HashMap;

@Repository
@FeignClient(name = "blockchainsdk",configuration={AdminFeiginConfig.class})//,url = "http://47.101.166.17:6266/"
public interface BlockAdminService {


    @PostMapping("/manage/invokeByJson")
     boolean invokeByJson(@RequestParam("key") String key, @RequestParam("value") String value) throws Exception;


}
